﻿function DoSearch(url) {
    var key = $("#key").val();
    if (key == undefined || key == null || key.trim() == "") {
        key = $("#searchKey").val();
    }
    location.href = url + '?key=search&value=' + key;
}